#proxies 代理
#免费代理地址 https://www.zdaye.com/Free/ 战大爷
#透明即可用 59.37.18.243:3128
from threading import Thread
from  multiprocessing import Process
import requests
proxies={
    "https":"59.37.18.243:3128"
}

# url="https://www.baidu.com"
# response=requests.get(url=url,proxies=proxies)
# response.encoding='utf-8'
# print(response.content.decode("utf-8"))


#创建线程
class MyThread(Thread):
    def run(self):
        for i in range(100):
            print("子线程",i)

#创建进程
class Myprocess(Process):
    def run(self):
        for i in range(100):
            print("子进程",i)

if __name__ == '__main__':

    #标记一个线程的开始
    #t=MyThread()
    #t.start()

    #标记一个进程的开始
    #p=Myprocess()
    #p.start()

    print()